reservations-eapi icon

reservations-eapi

(0 reviews)

Booking - Confirmation

The reservations interface exposes the underlying service's concept of provisional and its related concept of confirmed, which applies to bookings and to any subsequent booking updates (often referred to as 'after sales'). Understanding and correctly using the provisional and confirmed statuses is critical to correctly using the new reservations service.

Provisional versus Confirmed

Unlike NRS, the new reservation service works on the assumption that new data isn't applied until it has been explicitly confirmed as being valid. This provisional -> confirmed concept derives from real-world ticket sales processes, where there are usually several steps between a Customer selecting the ticket and reservation and them completing the purchase. The provisional status represents the selection stage of this process, whereas the confirmed status represents the completion of the purchase.

In more technical terms, the standard CRUD (Create/Read/Update/Delete) operations can be categorised as follows:

ActionS3 Passenger term/conceptNeed confirmation?If not confirmed?
CreateCreate provisional bookingYeswhole booking cancelled
ReadRecall bookingN/AN/A
UpdateAfter SalesYes*Booking reverted to last confirmed state
DeleteCancel bookingNoN/A

i.e. whenever a new booking is created, or a confirmed booking is updated*, it has to be explicitly confirmed otherwise the reservation service will automatically remove or revert the booking.

Impact on resources

The following shows which of the reservation resources requires confirmation in order to be applied.

ResourceCRUD OperationNeed confirmation?
/availabilityReadNo
/bookingsCreateYes
/bookings/{bookingReference}ReadNo
/bookings/{bookingReference}/status - > ConfirmN/AThis is the confirm action
/bookings/{bookingReference}/status - > CancelDeleteNo
/bookings/{bookingReference}/status - > RevertN/AUndo unconfirmed updates
/bookings/{bookingReference}/seatsUpdateYes
/bookings/{bookingReference}/customerUpdateYes
/bookings/{bookingReference}/passengersUpdateYes
/bookings/{bookingReference}/passengers/cancelUpdateYes
/bookings/{bookingReference}/legsUpdateYes
/bookings/{bookingReference}/legs/cancelUpdateYes
/bookings/{bookingReference}/legs/productItems/cancelUpdateYes
/bookings/{bookingReference}/rebookingUpdateYes
/bookings/{bookingReference}/utnUpdateNo*
/bookings/{bookingReference}/rbrUpdateNo*
/bookings/{bookingReference}/notesUpdateNo*
/bookings/referencesReadNo
/bookings/{rsid}/{serviceOriginDate}/{boardLocation}/{alightLocation}/{coachId}/{seatId}ReadNo
/service/{rsid}/coachesReadNo
/service/{rsid}/coaches/imagesReadNo
/refdata/disabilityTypesReadNo
/refdata/discountedOrSeasonCardTypesReadNo
/refdata/seatPropertiesReadNo

* Note: Whilst these actions fall under the Update category the fields do not affect the validity of the booking and are considered to be metadata by the underlying service, and as such are applied immediately without needing to be confirmed.

To request updates to this text please contact Neil Barkham.


Reviews